package com.way.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.way.domain.mall.Order;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper extends BaseMapper<Order> {

    void saveOrder(Order order);

    List<Order> getOrderList(Order order);

    Order getOrder(int orderId);
}
